<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>多选示例</title>
</head>
<body>
    <form action="#">
        <label for="fruit1">苹果</label>
        <input type="checkbox" id="fruit1" name="fruits[]" value="apple"><br>
        <label for="fruit2">香蕉</label>
        <input type="checkbox" id="fruit2" name="fruits[]" value="banana"><br>
        <label for="fruit3">樱桃</label>
        <input type="checkbox" id="fruit3" name="fruits[]" value="cherry"><br>
        <label for="fruit4">葡萄</label>
        <input type="checkbox" id="fruit4" name="fruits[]" value="grape"><br>
        <label for="fruit5">橙子</label>
        <input type="checkbox" id="fruit5" name="fruits[]" value="orange"><br>
        <input type="submit" value="提交">
    </form>
</body>
</html>